home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
usr
/
share
/
console-setup
/
kbdnames-maker
next >
Wrap
Text File
|
2008-08-27
|
669b
|
29 lines
#!/usr/bin/perl
use warnings 'all';
use strict;
BEGIN {
my $file;
if ($ARGV[0]) {
$file = $ARGV[0];
} else {
$file = 'KeyboardNames.pl';
}
do "$file";
}
for my $model (keys %KeyboardNames::models) {
my $name = $KeyboardNames::models{$model};
print "model*$name*$model\n"
}
for my $layout (keys %KeyboardNames::layouts) {
my $name = $KeyboardNames::layouts{$layout};
print "layout*$name*$layout\n";
print "variant*$name**$layout\n";
for my $variant (keys %{$KeyboardNames::variants{$name}}) {
my $variantname = $KeyboardNames::variants{$name}{$variant};
print "variant*$name*$variantname*$layout - $variant\n";
}
}